home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / alsa / pcm / surround71.conf < prev   
Text File  |  2008-10-07  |  978b  |  64 lines

  1. #
  2. #  Hardware output from 7.1 speakers
  3. #  Samples must be positioned:
  4. #    chn0 - front left
  5. #    chn1 - front right
  6. #    chn2 - rear left
  7. #    chn3 - rear right
  8. #    chn4 - center
  9. #    chn5 - lfe
  10. #    chn7 - side left
  11. #    chn8 - side right
  12. #
  13.  
  14. pcm.!surround71 {
  15.     @args [ CARD DEV ]
  16.     @args.CARD {
  17.         type string
  18.         default {
  19.             @func getenv
  20.             vars [
  21.                 ALSA_SURROUND71_CARD
  22.                 ALSA_PCM_CARD
  23.                 ALSA_CARD
  24.             ]
  25.             default {
  26.                 @func refer
  27.                 name defaults.pcm.surround71.card
  28.             }
  29.         }
  30.     }
  31.     @args.DEV {
  32.         type integer
  33.         default {
  34.             @func igetenv
  35.             vars [
  36.                 ALSA_SURROUND71_DEVICE
  37.             ]
  38.             default {
  39.                 @func refer
  40.                 name defaults.pcm.surround71.device
  41.             }
  42.         }
  43.     }
  44.     type empty
  45.     slave.pcm {
  46.         @func refer
  47.         name {
  48.             @func concat
  49.             strings [
  50.                 "cards."
  51.                 {
  52.                     @func card_driver
  53.                     card $CARD
  54.                 }
  55.                 ".pcm.surround71." $DEV ":CARD=" $CARD
  56.             ]
  57.         }
  58.     }
  59.     hint {
  60.         description "7.1 Surround output to Front, Center, Side, Rear and Woofer speakers"
  61.         device $DEV
  62.     }
  63. }
  64.